package com.example.activity_service.service.impl;

import com.example.activity_service.dao.Yssdao;
import com.example.activity_service.service.YssQueryService;
import com.example.activity_service.vo.Red;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class YssServiceImpl implements YssQueryService {
    @Autowired
    Yssdao yssdao;

    @Override
    public List<Red> searchhb() {
        return yssdao.searchhb();
    }

    @Override
    public List<Red> searchsyhb() {
        return yssdao.searchsyhb();
    }

    @Override
    public List<Red> searchgqhb() {
        return yssdao.searchgqhb();
    }

    @Override
    public List<Red> searchjf() {
        return yssdao.searchjf();
    }

    @Override
    public int updatezt(int id, int status) {
        return yssdao.updatezt(id, status);
    }

//    @Override
//    public int updateguoqi(int id, String timedata, int status) {
//        return yssdao.updateguoqi(id, timedata, status);
//    }
}
